<?php
    $location = isset($_SESSION['location']) ? $_SESSION['location'] : "";

?>

<form acion="." method="post">
<div class="container">
    <div id="main">
        <h1>Znajdź restaurcje w Twoim okręgu</h1>
        <div class="input-group">
            <input name="address" id="address" type="text" class="form-control" placeholder="Twój adres..." value="<?php echo $location; ?>"/>
            <span id="getCurrentPosition" class="input-group-addon"><img height="30px" src="img/geolocation.png" /></span>
        </div>
        <input id="findRestaurant" type="submit" class="btn btn-primary btn-lg" value="Wyszukaj restauracje!"/>
    </div>

</div>
</form>